<?php



/**
 * 支付方式管理
 * Enter description here ...
 * @author Admin
 *
 */
class PaymentAction extends CommonAction{
	
	
	/**
	 * 
	 * Enter description here ...
	 */
	public function index() {
		$payment = D('Payment');		
		$this->page($payment,$paymentdata,$page);
		$this->assign("page",$page);
		$this->assign("paymentdata",$paymentdata);
		$this->display();
	}
	
	/**
	 * 修改
	 * @see CommonAction::update()
	 */
	public function update(){
		$where['id'] = GetNum($_POST['id']);
		$data = Init_GP(array('business','mail','key','currency','fee','state'));
		parent::update($data,$where);
	}
	
	
	public function add(){
		$this->error('操作错误');
	}
	
	public function del(){
		$this->error('操作错误');
	}
	
	public function dels(){
		$this->error('操作错误');
	}
	
	public function insert(){
		$this->error('操作错误');
	}
	
}
?>